package com.ysstech.etfmanage.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysstech.etfmanage.entity.Param;
import com.ysstech.etfmanage.entity.ParamVo;

public interface ParamService extends IService<Param> {

    /**
     * 查询某一类参数，返回集合
     *
     * @param param
     * @param tclass
     * @return
     * @throws Exception
     */
    public List<Object> getParamList(Param param, Class tclass) throws Exception;

    /**
     * 通过市场获取对应的参数信息
     *
     * @param market     市场代码
     * @param paramVo etf参数
     * @return
     */
    public ParamVo getEtfParamVo(String market, ParamVo paramVo) throws Exception;
}
